package com.gcit.seniorWish.web.modular.inputMidScore.service;

import java.io.InputStream;

import com.baomidou.mybatisplus.service.IService;
import com.gcit.seniorWish.web.common.constant.cache.Cache;
import com.gcit.seniorWish.web.common.constant.cache.CacheKey;
import com.gcit.seniorWish.web.common.persistence.model.ExamineeScore;
import com.gcit.seniorWish.web.core.shiro.ShiroUser;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;

public interface IExamineeScoreService extends IService<ExamineeScore>{
	
	String importMidScore(InputStream inputStream, ShiroUser user) ;


    @Cacheable(value = Cache.BUSS, key = "'" + CacheKey.EXAMINEE_SCORE_BY_EXAM_CARD + "'+#examCardNumber")
    ExamineeScore getExamineeScore(String examCardNumber);
}
